package com.test;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author zxs
 * @since 2020/02/19
 */
@SpringBootApplication
public class WebFluxApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebFluxApplication.class,args);
        ConfigurableApplicationContext ctx = new SpringApplicationBuilder(WebFluxApplication.class).profiles("dev").run(args);

        ctx.close();
    }
}
